package phone.qyg.com.qyg.model;

/**
 * 作者：lblbh on 2017/11/28 16:46
 * 邮箱：lanbuhan@163.com
 * 功能：活动
 */
public class Activity extends Base {


    public int status;
    public int applyBtn;
    public String color;
    public String address;
    public String startTime;
    public String statusName;
    public String createDate;
    public String remainQuota;
    public String applyBtnName;
    public String applyBtnColor;


    /**

     "id": 3,
     "title": "活动三",
     "address": "北京市北京东城区一号楼",
     "color": "#000000",
     "status": 2,
     "statusName": "预约结束",
     "fixImgUrl": "http://192.168.1.186:8080/atta,",
     "createDate": "2017-11-22"

     “id”:213      //活动id
     “title”:”博物馆展览”     //活动名称
     “fixImgUrl”:”http://domain:port/data/2017/04/13/223.jpg” //缩略图


     “startTime”:”2017-11-23”  //活动开始时间
     “status”:1               //活动状态值
     “statusName”:”预约中”    //活动状态名称
     “applyBtn”:1  //申请按钮
     “applyBtnName”:”预约” //按钮文字
     “remainQuota”:”4/10” // 报名人数比
     “address”:”北京市海淀区西三旗” //地址

     */
//
//    public Activity() {}
//
//    @SuppressWarnings("unchecked")
//    public Activity(Parcel in) {
//        status = in.readInt();
//        color = in.readString();
//        address = in.readString();
//        statusName = in.readString();
//        createDate = in.readString();
//    }
//
//    @Override
//    public int describeContents() {
//        return 0;
//    }
//
//    @Override
//    public void writeToParcel(Parcel dest, int flags) {
//        dest.writeInt(status);
//        dest.writeString(color);
//        dest.writeString(address);
//        dest.writeString(createDate);
//        dest.writeString(statusName);
//    }
//
//
//    public static final Creator<Activity> CREATOR = new Creator<Activity>() {
//        @Override
//        public Activity[] newArray(int size) {
//            return new Activity[size];
//        }
//
//        @Override
//        public Activity createFromParcel(Parcel in) {
//            return new Activity(in);
//        }
//    };
}
